package com.sc.dal.model.goods;

import java.math.BigDecimal;
import java.util.List;

public class Goods{
	private Integer id;
	
	private String[] ids;
	
	private String selected ;//商品是否已被收藏（0：否，1：是）	

    private String code;

    private String name;

    private String shorthand;

    private String specification;

    private String defaultBarCode;

    private String classId;

    private String unit;

    private String brand;

    private BigDecimal costPrice;

    private BigDecimal marketPrice;

    private String imageFile;

    private Integer lowQuantity;

    private Integer topQuantity;

    private Integer safeQuantity;

    private String picture;

    private String descript;
    
    private String type;
    
    private String[] types;

    private String advantage;
    
	private String creater;

    private String modifier;

    private String createTime;

    private String modifyTime;

    private String isDelete;
    
    private String title;
    
    private String keywords;
    
    private Integer saleCount;
    
    private String commentRate;
    
    private String[] photos;
    
    private String isOnShelf;
    
    /**是否开启多规格*/
    private String isOpenSku;
    
    /**是否已经编辑过货品库存数据*/
    private String isLoadedSku;
    
    private List<GoodsStock> goodsStockList;
    
    /**
	 * 商品分类名称
	 */
	private String className;
	/**
	 * 商品品牌名称
	 */
	private String brandName;
	/**
	 * 商品单位名称
	 */
	private String unitName;
	/**
	 * 商品单位code
	 */
	private String unitCode;
	/**
	 * 商品基本库存量
	 */
	private String baseQuantity;
	
	/**
	 * 商品基本销售量
	 */
	private String saleBaseQuantity;
	
	/**商品剩余库存*/
	private String quantity;
	
	/**
	 * 商品规格集合信息
	 * List<GoodsSku> GoodsSkuList
	 * 2017.4.23变更    
	 * List<Sku> GoodsSkuList
	 * 
	 */
	private List<Sku> GoodsSkuList;
	/**
	 * 图片链接地址
	 */
	private String icon;
	/****
	 * 统计月销量
	 */
	private String monthSaleMount;
	
	/***
	 * 会员价格
	 */
	private BigDecimal memberMarketPrice;
	/***
	 * 商品促销活动 （减、赠、折）
	 */
	private String proTitle;
	/***
	 * 店铺名称
	 */
	private String shopName; 
	
	public String getSelected() {
		return selected;
	}

	public void setSelected(String selected) {
		this.selected = selected;
	}

	
	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getShorthand() {
        return shorthand;
    }

    public void setShorthand(String shorthand) {
        this.shorthand = shorthand == null ? null : shorthand.trim();
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification == null ? null : specification.trim();
    }

    public String getDefaultBarCode() {
        return defaultBarCode;
    }

    public void setDefaultBarCode(String defaultBarCode) {
        this.defaultBarCode = defaultBarCode == null ? null : defaultBarCode.trim();
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId == null ? null : classId.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public String getImageFile() {
        return imageFile;
    }

    public void setImageFile(String imageFile) {
        this.imageFile = imageFile == null ? null : imageFile.trim();
    }

    public Integer getLowQuantity() {
        return lowQuantity;
    }

    public void setLowQuantity(Integer lowQuantity) {
        this.lowQuantity = lowQuantity;
    }

    public Integer getTopQuantity() {
        return topQuantity;
    }

    public void setTopQuantity(Integer topQuantity) {
        this.topQuantity = topQuantity;
    }

    public Integer getSafeQuantity() {
        return safeQuantity;
    }

    public void setSafeQuantity(Integer safeQuantity) {
        this.safeQuantity = safeQuantity;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript == null ? null : descript.trim();
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? null : isDelete.trim();
    }

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getSaleCount() {
		return saleCount;
	}

	public void setSaleCount(Integer saleCount) {
		this.saleCount = saleCount;
	}

	public String getCommentRate() {
		return commentRate;
	}

	public void setCommentRate(String commentRate) {
		this.commentRate = commentRate;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getBaseQuantity() {
		return baseQuantity;
	}

	public void setBaseQuantity(String baseQuantity) {
		this.baseQuantity = baseQuantity;
	}

	public String getSaleBaseQuantity() {
		return saleBaseQuantity;
	}

	public void setSaleBaseQuantity(String saleBaseQuantity) {
		this.saleBaseQuantity = saleBaseQuantity;
	}

	public List<Sku> getGoodsSkuList() {
		return GoodsSkuList;
	}

	public void setGoodsSkuList(List<Sku> goodsSkuList) {
		GoodsSkuList = goodsSkuList;
	}

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public String[] getPhotos() {
		return photos;
	}

	public void setPhotos(String[] photos) {
		this.photos = photos;
	}

	public String[] getTypes() {
		return types;
	}

	public void setTypes(String[] types) {
		this.types = types;
	}

	public String getAdvantage() {
		return advantage;
	}

	public void setAdvantage(String advantage) {
		this.advantage = advantage;
	}

	public String getIsOpenSku() {
		return isOpenSku;
	}

	public void setIsOpenSku(String isOpenSku) {
		this.isOpenSku = isOpenSku;
	}

	public String getIsOnShelf() {
		return isOnShelf;
	}

	public void setIsOnShelf(String isOnShelf) {
		this.isOnShelf = isOnShelf;
	}

	public List<GoodsStock> getGoodsStockList() {
		return goodsStockList;
	}

	public void setGoodsStockList(List<GoodsStock> goodsStockList) {
		this.goodsStockList = goodsStockList;
	}

	public String getIsLoadedSku() {
		return isLoadedSku;
	}

	public void setIsLoadedSku(String isLoadedSku) {
		this.isLoadedSku = isLoadedSku;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getMonthSaleMount() {
		return monthSaleMount;
	}

	public void setMonthSaleMount(String monthSaleMount) {
		this.monthSaleMount = monthSaleMount;
	}

	public BigDecimal getMemberMarketPrice() {
		return memberMarketPrice;
	}

	public void setMemberMarketPrice(BigDecimal memberMarketPrice) {
		this.memberMarketPrice = memberMarketPrice;
	}

	public String getProTitle() {
		return proTitle;
	}

	public void setProTitle(String proTitle) {
		this.proTitle = proTitle;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getUnitCode() {
		return unitCode;
	}

	public void setUnitCode(String unitCode) {
		this.unitCode = unitCode;
	}

	
	
}